#include <stdio.h>

int main()
{

    char c = 0;
    char d = 0;
    //行缓冲
    scanf(" %c",&c);
    while(getchar()!='\n');
    scanf(" %c",&d);
    printf("c:%c d:%c\n",c,d);
    return 0;
}